home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1994 March / Internet Info CD-ROM (Walnut Creek) (March 1994).iso / inet / netinfo / kermit-tac-info.txt < prev    next >
Text File  |  1992-07-21  |  5KB  |  104 lines

  1.  
  2. [ netinfo/kermit-tac-info.txt ]                                [ 7/92 BLV ]
  3.  
  4.                  QUICK GUIDE TO USING KERMIT THROUGH A TAC
  5. PROBLEMS:
  6.  
  7. There are four obstacles to performing Kermit file transfers through a TAC
  8. (DDN Terminal Access Controller).  These are:
  9.  
  10.   1. The default TAC intercept character (used by the TAC to identify
  11.      commands intended for it) is the "@", which is also used by Kermit.
  12.  
  13.   2. Flow control between the PC and the TAC must be turned on.
  14.  
  15.   3. The TAC has a small buffer (approximately 64K), which can overflow
  16.      if the TAC is heavily loaded.
  17.  
  18.   4. The default mode for the TAC is a 7-bit ASCII data path.  This
  19.      prevents the transfer of binary files (such as programs).
  20.  
  21. SOLUTIONS:
  22.  
  23.   1. According to Frank Da Cruz, original author of Kermit, the protocol
  24.      Kermit uses may contain any visible character of the ASCII
  25.      character set. This means that the intercept character on the TAC
  26.      should be set to an invisible (non-printing) character. In the
  27.      examples below, we have chosen to change the intercept character to
  28.      CONTROL-Y -- indicated as ^Y. 
  29.  
  30.      Note: You create this character by holding down the CONTROL KEY and 
  31.            pressing the Y key simultaneously.
  32.  
  33.      For example, to change the TAC intercept character to ^Y (ASCII
  34.      code 25) type:
  35.  
  36.                              @i 25 <Return>
  37.  
  38.      You can use this command to change the TAC intercept character to any
  39.      character in the ASCII character set.  Just substitute the decimal code
  40.      of the chosen character for the "25" above.  A table of common intercept 
  41.      characters is listed in the TAC User's Guide.
  42.  
  43.   2. If you've changed your intercept character to a ^Y, but your files still
  44.      do not transfer successfully, try using flow control.  Turn on flow 
  45.      control between the PC and the TAC by typing the commands:
  46.    
  47.                    ^Yd c a <Return>   ("device code ASCII")
  48.                    ^Yf i s <Return>   ("flow input set")
  49.                    ^Yf o s <Return>   ("flow output set")
  50.  
  51.      Note that the above example assumes you have changed the intercept 
  52.      character to CONTROL-Y.  You may issue these commands before setting
  53.      your intercept character if you wish.
  54.  
  55.   3. If you are still having problems transferring files, try decreasing the
  56.      size of the Kermit packets to 60 characters -- smaller than the
  57.      size of the TAC's buffer.
  58.  
  59.      You must do this for BOTH the PC Kermit and the host Kermit.  Although
  60.      command syntax may vary between Kermit implementations, you will
  61.      generally type something like this to set the packet size to 60:
  62.  
  63.                   set send packet-size 60 <Return>
  64.                   set receive packet-size 60 <Return>
  65.  
  66.      Decreasing the packet size will increase the length of time required
  67.      for file transfers.  Also, a packet size that works when the TAC is
  68.      lightly loaded may not work when the load increases, so experiment
  69.      until you find a combination that works for your environment.
  70.  
  71.   4. When the TAC receives what it considers an intercept character, even
  72.      though it is embedded in a file, it interrupts the transfer process
  73.      and tries to interpret whatever follows as a command to the TAC. 
  74.      Therefore, to transfer binary files, you must put the TAC into binary
  75.      mode.  Doing so disables the current intercept character.  
  76.  
  77.      To put the TAC in binary mode, first open a connection to your host.  
  78.      After connecting to your host, put the TAC in binary mode by typing:
  79.  
  80.                   ^Yd c a <Return>  ("device code ASCII")
  81.                   ^Yb o s <Return>  ("binary output set")
  82.                   ^Yb i s <Return>  ("binary input set")
  83.  
  84.      Note, again, the example assumes the intercept character has been changed
  85.      to the ^Y.
  86.  
  87.      TAC flow control is *NOT* compatible with TAC binary mode.  Therefore,
  88.      if you've set flow control at the TAC, you must disable it before
  89.      switching to binary mode.  To disable flow control, type the 
  90.  
  91.                             ^Yd c a
  92.  
  93.      command (assuming "^Y" is your intercept character).  After doing so,
  94.      issue the commands to put the TAC in binary mode.
  95.  
  96.      The binary commands MUST be typed in the order shown above because the
  97.      TAC will no longer recognize the intercept character once it's in binary
  98.      mode, and it will ignore the "^yd c a" command.  Closing the connection 
  99.      (by logging off your host) returns the TAC to non-binary mode, 
  100.      re-enabling local control with "@" commands.
  101.  
  102.  
  103.  
  104.